package com.ctgu.admin.system.validator;

import lombok.Data;

import java.io.Serializable;
import javax.validation.constraints.NotNull;

/**
 * 提交时的判空工具类
 */
@Data
public class PaymentValid implements Serializable {
    @NotNull(message = "对应文章不能为空")
    private Long articleID;
    @NotNull(message = "支付对象不能为空")
    private Long userID;
    @NotNull(message = "金额不能为空")
    private Integer money;
}